package com.yuteng.video.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 用户所有点赞的视频(video_user_like)实体类
 *
 * @author 余腾
 * @since 2021-10-27 16:19:38
 * @description 用户喜欢的视频的一些信息
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("video_user_like")
public class VideoUserLike extends Model<VideoUserLike> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ID_WORKER)
	private Long id;
    /**
     * 点赞用户的id
     */
    private Long userId;
    /**
     * 用户点赞的视频的id
     */
    private Long videoId;

}